.. _ISIS_SANS_Settings_Tab-ref: Settings ======== .. contents:: Table of Contents :local: .. _Settings: .. image:: /images/ISISSansInterface/settings_page.png :align: center :width: 800px The Settings tab and its sub-tabs allow users to control the parameters used for processing data. These values are initially from the specified user file. **General, Scale, Event Slice, Sample** This tab includes settings on how to process merged runs, event slices, event binning and scale and z offset. :ref:`More Details ` **Mask** The mask tab contains a table of masks specified in the user file. :ref:`More Details ` **Adjustment** This tab controls the parameters used when generating adjustment workspaces. This includes monitor normalization, transmission calculation, pixel-adjustment files and wavelength-adjustment files. :ref:`More Details ` **Q, Wavelength, Detector Limits** This tab contains settings for the radius limit, phi limit, wavelength range and binning, any cuts to apply, Q limits and binning, extra gravity length and Q resolution. :ref:`More Details ` **State Diagnostic** (Experimental) The tab provides insight into the state which is being passed to the reduction algorithm. This interface can be removed in future releases without notice. :ref:`More Details ` .. _General-ref: General, Wavelength, Scale, Event Slice, Sample ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ General """"""" .. image:: /images/ISISSansInterface/settings_page_general.png :align: center :width: 800px +------------------------------+----------------------------------------------------------------------------------------------+ | **Reduction mode** | The user can choose to either perform a reduction on the low angle bank (**LAB**), | | | the high angle bank (**HAB**), both (**Both**) or merged (**Merged**) | | | When merged reduction are selected, additional further settings are required (see below) | +------------------------------+----------------------------------------------------------------------------------------------+ | **Merge scale** | Sets the scale of a merged reduction. If the **Fit** check-box is enabled, then this scale is| | | being fitted | +------------------------------+----------------------------------------------------------------------------------------------+ | **Merge shift** | Sets the shift of a merged reduction. If the **Fit** check-box is enabled, then this shift is| | | also fitted | +------------------------------+----------------------------------------------------------------------------------------------+ | **Merge fit custom q range** | Describes the Q region which should be used to determine the merge parameters | +------------------------------+----------------------------------------------------------------------------------------------+ | **Merge custom q range** | Describes the Q region in which the merged data should be used. Outside of this region the | | | uncombined **HAB** or **LAB** data is used | +------------------------------+----------------------------------------------------------------------------------------------+ Event Slice """"""""""" .. _Event_Slice: Used for data capture in event-mode, it is possible to perform time-of-flight slices of the data and reduce these separately. The input can be: - ``start:step:stop`` specifies time slices from a ``start`` value for the ``stop`` value in steps of ``step``. - ``start-stop`` which specifies a time slice from the ``start`` value to the ``stop`` value. - ``>start`` specifies a slice form the ``start`` value to the end of the data set. - ``start`` specifies a slice from the ``start`` value to the end of the data set. - ``` as the RadiusCut and WaveCut respectively. Q limits """""""" .. _Q_Limits: The entries here allow for the providing the binning settings during the momentum transfer conversion. In the case of a 1D reduction the user can specify standard bin information. In the case of a 2D reduction the user can only specify the maximal momentum transfer value, as well as the step size and the step type. +-----------------+------------------------------------------------------------------------------------------------+ | **1D settings** | The 1D settings will be used if the reduction dimensionality has been set to 1D. The user can | | | specify the start, stop, step size and step type of the momentum transfer bins. | +-----------------+------------------------------------------------------------------------------------------------+ | **2D settings** | The 2D settings will be used if the reduction dimensionality has been set to 2D. The user can | | | specify the stop value, step size and step type of the momentum transfer bins. The start | | | value is 0. Note that the binning is same for both dimensions. | +-----------------+------------------------------------------------------------------------------------------------+ Gravity correction """""""""""""""""" .. _Gravity_Correction: Enabling the check-box will enable the gravity correction. In this case an additional length can be specified. Q Resolution """""""""""" If you want to perform a momentum transfer resolution calculation then enable the check-box of this group. For detailed information please refer to :ref:`TOFSANSResolutionByPixel `. +---------------------------------------+------------------------------------------------------------------------------------------------+ | **Aperture type** | The aperture for the momentum transfer resolution calculation can either be *Circular* or | | | *Rectangular*. | +---------------------------------------+------------------------------------------------------------------------------------------------+ | **Settings for rectangular aperture** | If the *Rectangular* aperture has been selected, then fields *H1* (source height), *W1* (source| | | width), *H2* (sample height) and *W2* (sample width) will have to be provided. | +---------------------------------------+------------------------------------------------------------------------------------------------+ | **Settings for circular aperture** | If the *Circular* aperture has been selected, then fields *A1* (source diameter) and *A2* | | | (sample diameter) will have to be provided. | +---------------------------------------+------------------------------------------------------------------------------------------------+ | **Collimation length** | The collimation length. | +---------------------------------------+------------------------------------------------------------------------------------------------+ | **Moderator file** | This file contains the moderator time spread as a function of wavelength. | +---------------------------------------+------------------------------------------------------------------------------------------------+ | **Delta r** | The virtual ring width on the detector. | +---------------------------------------+------------------------------------------------------------------------------------------------+ .. _State_Diag-ref: State Diagnostic ^^^^^^^^^^^^^^^^ .. image:: /images/ISISSansInterface/settings_page_state_diagnostic.png :align: right :width: 800px This tab only exits for diagnostic purposes and might be removed (or hidden) when the GUI has reached maturity. The interface allows instrument scientists and developers to inspect all settings in one place and check for potential inconsistencies. The settings are presented in a tree view which reflects the hierarchical nature of the SANS state implementation of the reduction back-end. To inspect the reduction settings for a particular data set it is necessary to press the *Update rows* button to ensure that the most recent setting changes have been captured. Then the desired row can be selected from the drop-down menu. The result will be displayed in the tree view. Note that the settings are logically grouped by significant stages in the reduction. On a high level these are: +-------------------+------------------------------------------------------------------------------------------------+ | **adjustment** | This group has four sub-groups: *calculate_transmission*, *normalize_to_monitor*, | | | *wavelength_and_pixel_adjustment* and *wide_angle_correction*. | | | *calculate_transmission* contains information regarding the transmission calculation, e.g. | | | the transmission monitor. | | | *normalize_to_monitor* contains information regarding the monitor normalization, e.g. | | | the incident monitor. | | | *wavelength_and_pixel_adjustment* contains information required to generate the wavelength- and| | | pixel-adjustment workspaces, e.g. the adjustment files. | | | *wide_angle_correction* contains information if the wide angle correction should be used. | +-------------------+------------------------------------------------------------------------------------------------+ | **compatibility** | This group contains information for the compatibility mode, e.g. the time-of-flight binning. | +-------------------+------------------------------------------------------------------------------------------------+ | **convert_to_q** | This group contains information for the momentum transfer conversion, e.g. the momentum | | | transfer binning information. | +-------------------+------------------------------------------------------------------------------------------------+ | **data** | This group contains information about the data which is to be reduced. | +-------------------+------------------------------------------------------------------------------------------------+ | **mask** | This group contains information about masking, e.g. the mask files | +-------------------+---------------------------------------+--------------------------------------------------------+ | **move** | This group contains information about the position of the instrument. This is for example used | | | when a data set is being loaded. | +-------------------+---------------------------------------+--------------------------------------------------------+ | **reduction** | This group contains general reduction information, e.g. the reduction dimensionality. | +-------------------+---------------------------------------+--------------------------------------------------------+ | **save** | This group contains information about how the data should be saved, e.g. the file formats. | +-------------------+---------------------------------------+--------------------------------------------------------+ | **scale** | This group contains information about the absolute scaling and the volume scaling of the data | | | set. This means it contains the information for the sample geometry. | +-------------------+---------------------------------------+--------------------------------------------------------+ | **slice** | This group contains information about event slicing. | +-------------------+---------------------------------------+--------------------------------------------------------+ | **wavelength** | This group contains information about the wavelength conversion. | +-------------------+---------------------------+--------------------------------------------------------------------+